Mapping an out-of-gamut color to a surface of a color gamut

ABSTRACT

What is disclosed is a system and method for mapping an out-of-gamut spot color to a surface boundary of a target color gamut of a color marking device in a color management system. The present method accurately detects the intersection of a point at the boundary surface of a ray traced between the out-of-gamut color and color point along a neutral axis of the target gamut. The ability to map an out-of-gamut color accurately to the gamut surface provides many advantages as one skilled in the art would appreciate. Various embodiments are provided.

CROSS REFERENCE TO RELATED APPLICATION

The present patent application is related to co-pending and commonly owned U.S. patent application Ser. No. ______, Attorney Docket No. 20081292-US-NP, entitled “Ray-Based Compression Mapping In A Color Management System”, filed concurrently herewith.

TECHNICAL FIELD

The present invention is directed to systems and methods for mapping an out-of-gamut color to a surface of a color gamut in a color management system performing a gamut mapping function.

BACKGROUND

In digital imaging systems, color management is the controlled conversion between the color representations of various devices, such as image scanners, digital cameras, monitors, TV screens, film printers, computer printers, offset presses, corresponding media, and the like. One primary goal of a color management system is to effectively deal with colors that cannot be reproduced on a target marking device. Gamut mapping algorithms map color values of an input image to the gamut of a target output device such that the colors of the rendered output image remain visually consistent with the input image. There is no common method for this process. Performance depends on the capability of the color mapping methods employed in the color management system.

What is needed are increasingly sophisticated systems and methods for accurately mapping an out-of-gamut color to a surface boundary of a color gamut of a target color marking device in a color management system.

BRIEF SUMMARY

What is disclosed is a novel system and method for mapping an out-of-gamut spot color to a surface boundary of a target color gamut of a color marking device in a color management system. The present method accurately detects the intersection of a point at the boundary surface of a ray traced between the out-of-gamut color and color point along a neutral axis of the target gamut. The ability to map an out-of-gamut color to the gamut surface provides many advantages as one skilled in the art would appreciate.

In one example embodiment, the present method for mapping an out-of-gamut color to a color point on a surface of a boundary of a color gamut involves the following. A first point x_(c) is identified which is outside a boundary of a surface of a color gamut of a target color marking device. A second point x₀ is identified which is inside the gamut. A ray is traced between points x_(c) and x₀. The ray is divided into a plurality of points, each point x_(i) having coordinates {L*_(i), a*_(i), b*_(i)} where i is an index of the current point. A threshold error is initialized to a default value. The following steps are iteratively performed until the intersection of the ray with the gamut surface has been detected. For each point x_(i) and for each of a defined number of iterations to be performed on each current point x_(i): 1) determine an amount of deltaE color separation between L*a*b* output values obtained on a previous iteration and {L*_(i), a*_(i), b*_(i)} values of the current point x_(i); 2) compare the amount of deltaE color separation with the threshold error; 3) if the amount of deltaE color separation is greater than the threshold then the ray has not yet intersected the gamut surface and the following steps are performed: a) the amount of deltaE color separation is processed with CMYK values obtained on a previous iteration to produce new CMYK values for the current iteration; and b) new L*a*b* output values are obtained using the new CMYK values as inputs to the color marking device (or from a model of the device). The above steps are repeated until the intersection of the ray with the gamut surface has been detected. Upon detection, the {L*_(i), a*_(i), b*_(i)} values of the current point x_(i) are provided to a gamut mapping function. Other embodiments are also disclosed.

Many features and advantages of the above-described method will become readily apparent from the following detailed description and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other features and advantages of the subject matter disclosed herein will be made apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

FIG. 1 illustrates an example color space of an example generic CMYK printer gamut;

FIG. 2 is a flow diagram of one example embodiment of the present ray-based method for mapping an out-of-gamut color to a surface boundary of a color gamut of a target color marking device;

FIG. 3 which is a continuation of the flow diagram of FIG. 2 with flow continuing with respect to node A1;

FIG. 4 illustrates the example gamut of FIG. 1 with a ray traced between x_(c) and x₀ and intersecting the surface of the gamut at x_(b);

FIG. 5 illustrates an example ray traced between points x_(c) and x₀ having been divided into a plurality of points x_(i);

FIG. 6 illustrates an example ray traced between points x_(c) and x₀ having been divided into a plurality of points x_(i) in a 2D chroma plane of a gamut;

FIG. 7 is a flow diagram of one example embodiment of the present method for ray-based compression mapping in a color management system performing a gamut mapping function;

FIG. 8 illustrates an example ray traced between the intersection point x_(b) and point x₀ along a neutral axis of the gamut;

FIG. 9 is an enlargement of the ray of FIG. 8 to show the division of the ray between points x_(b) and x_(p) divided into a plurality of discrete points x_(i);

FIG. 10 shows the ray of FIG. 9 with the points between x_(b) and x_(p) having been moved a distance down the ray in accordance with the present ray-based compression mapping method;

FIG. 11 illustrates a block diagram of one example embodiment of a special purpose computer system useful for implementing one or more aspects of the present image resizing method; and

FIG. 12 is an explanatory diagram illustrating one example computer readable medium capable of storing machine readable instructions which, when mounted on a computer or a special purpose computer system, causes the system to perform one or more aspects of the present method.

DETAILED DESCRIPTION

What is provided is a system and method which maps an out-of-gamut spot color to a surface boundary of a target color gamut of a color marking device in a color management system. The present method accurately detects the intersection of a point at the boundary surface of a ray traced between the out-of-gamut color and color point along a neutral axis of the target gamut.

It should be understood that one of ordinary skill in this art would be readily familiar with many facets of color science such as, but not limited to, color space, color gamuts, gamut mapping, and other related techniques and algorithms commonly found in the color science arts such as, for instance, color management, device color characterization, digital halftoning, image compression, color quantization, gamut mapping, computationally efficient transform algorithms, and color image processing. Those of ordinary skill would be familiar with the text: “Digital Color Imaging HandbooK”, 1^(st) Ed. CRC Press (2003), ISBN-10: 084930900X, ISBN-13: 978-0849309007, which is incorporated herein in its entirety by reference. Additionally, one of ordinary skill would also be familiar with advanced mathematical techniques used for color manipulation and various color transformation processes. One of ordinary skill would be knowledgeable about computer science and software and hardware programming systems and methods sufficient to implement the functionality and capabilities described herein in their own computing environments without undue experimentation.

A Lab color space is a color-opponent space with dimension L* for luminance and a* and b* for the color-opponent dimensions based on non-linearly compressed CIE XYZ color space coordinates. Lab color space is more often used as an informal abbreviation for the CIE 1976 L*a*b* color space (also called CIELAB), whose coordinates are given by {L*, a*, b*}. Chrominance (a) is the chrominance of a first channel. Chrominance (b) is the chrominance of a second channel. Luminance (L) is a photometric quantity which, in essence, is the effect of radiance on our eyes. Radiance is the physical quantity related to light intensity, i.e., the power of the light spreading out in some solid angle over an area. Luminance is the integration of radiance weighted with a curve, which describes how efficiently different wavelengths of light trigger visual receptors in the eye. Brightness is the subjective visual experience of luminance, i.e., the effect of luminance on the brain. Primary colors are understood to be Cyan, Magenta, Yellow, and Black. Secondary colors are understood to be Red, Green, and Blue.

The gamut refers to a complete subset of colors as defined by the spectrum of light, i.e., the distribution of light energy versus wavelength, interacting with the spectral sensitivities of the eye's light receptors and the colorants on the substrate. One of the common usages refers to the subset of colors which can be accurately represented in a given circumstance, such as within a given color space or by a certain output device. Another refers to the set of colors found within an image at a given time. In this context, digitizing a photograph, converting a digitized image to a different color space, or outputting it to a given medium using a certain output device generally alters its gamut, in the sense that some of the colors in the original are lost in the transformation process. A color transformation process translates an input color space to an output color space. In conventional color management systems, a color transformation converts each input color space to an output target color space using mathematical algorithms. The mathematical algorithms of the color profiles for a color transformation may be convolved to produce a single mathematical algorithm for increased efficiency. The gamut of a color marking device, for example, is a multi-dimensional color space having a given volume with the axes of the space being defined by the pigments used in the colorants of the primary colors. Each of the primary colors is transferred to the image-receiving medium. The color gamut is defined by the interaction of the primary colors, and is limited by an amount of toner that can be deposited on the image-receiving medium.

An image processing system refers to a hardware or software system capable of processing an image for output to an image output device. Such a system may include in a color management system placed in the image path of a document reproduction system.

An image output device refers to a device capable of reducing a signal of an image to viewable form. The set of such devices includes printers, xerographic devices, image production and photographic equipment, monitors and other display devices, and the like. Outputting the image means communicating information about the image to an image output device. Such communication may take the form of transmitting the image in the form of signals over a network or other communication pathway, or storing the signals to a memory or storage media for subsequent retrieval. A color marking device, such as an inkjet printer, is one example of an image output device which produces an image from the received signal onto a substrate by the visual integration of colored inks deposited thereon.

The present ray-based method maps an out-of-gamut color to a boundary surface of a color gamut. One example color gamut is shown in FIG. 1. Although shown in black and white, it should be appreciated that the illustrated gamut is a color gamut of a target color marking device composed of a plurality of different colored regions.

Reference is now made to FIG. 1. The color gamut comprises a color space 102 which includes 14 corners, 24 edges, and 12 faces. The color spaces has a first edge 104, a second edge 106, a third edge 108 and a fourth edge 110 along a first face 112 and a second face 114. Point 116 is a point outside the boundary of the surface of the gamut which will be mapped to a point on the surface of the gamut using the present method. The gamut is defined in L*a*b* color space by a set of axes. One axis is given in L*, another in a*, and another in b*. Each point x_(i) is defined by a set of coordinates given by {L*_(i), a*_(i), b*_(i)}. One point x₀ might be defined by, for example, coordinates {L*₀=20, a*₀=0, b*₀=0} and point x_(c) might be defined by, for example, coordinates {L*_(c)=80, a*_(c)=50, b*_(c)=30}.

Reference is now being made to FIG. 2 which illustrates one example of a flow diagram of one embodiment of the present ray-based method for mapping an out-of-gamut color to a surface boundary of a color gamut of a target color marking device. Reference is also concurrently made to FIGS. 4-6.

For explanatory purposes, the example embodiment discussed is described with respect to 4-color (CMYK) separations. It should be understood that the present method is equally applicable to a device capable of 3-color (CMY) separations. Alternatively, the present method applies to a device having N-color separations, where N>4. For example, if N=6 the colors may include: Cyan, Magenta, Yellow, Black, Orange, and Violet. Other N-color separations of various devices are intended to fall within the scope of the appended claims.

At 202, a point x_(c) in L*a*b* space is identified which is outside a boundary of a surface of a color gamut of the target color marking device. Point x_(c) has {L_(c), a*_(c), b*_(c)} values. One example point x_(c) which is outside the boundary surface of gamut 400 is shown at 416 of FIG. 4. One method for determining whether a given color is inside or outside the boundary surface of a target color gamut is disclosed in U.S. application Ser. No. ______ entitled: “Method for Determining Whether a Color is In or Out of Gamut”, which is incorporated herein in its entirety by reference.

At 204, a point x₀ in L*a*b* space is identified which is inside the boundary of a surface of the color gamut of the target color marking device. Point x₀ has {L₀, a*₀, b*₀} values. One example point x₀ at 410 of FIG. 4. In one embodiment, point x₀ is a point along a neutral axis of the gamut having coordinates {L*, a*=0, b*=0}, where L* is between the minimum L* of the printer and 100 if we are working with relative to paper values, inclusive. Otherwise, the value 100 needs to be changed to the white point of the paper.

At 206, a ray is traced between points x_(c) and x₀. An example ray is shown at 406 of FIG. 4. The ray 406 intersects the boundary surface of gamut 400 at intersection point x_(b) at 408. A ray traced between two points can be defined as a line given by:

${x = {x_{0} + {mi}}},{x = \begin{bmatrix} L_{i} \\ a_{i} \\ b_{i} \end{bmatrix}},{x_{0} = \begin{bmatrix} L_{0} \\ a_{0} \\ b_{0} \end{bmatrix}},{m = {\frac{1}{N}\begin{bmatrix} {L_{c} - L_{0}} \\ {a_{c} - a_{0}} \\ {b_{c} - b_{0}} \end{bmatrix}}},$

where m is the slope, and N is the number of points such that, for i=0 to N, a total of N+1 points are defined along the ray, each of the defined points having color values represented by point x_(i). A GCR (Gray Component Replacement) LUT can be used to extract the nominal CMYK values for a given point x.

At 208, the ray is divided into discrete points. Each discrete point has {L*_(i), a*_(i), b*_(i)} values, where i is an index of the current point x_(i). One hundred discrete color points should be sufficient. The number of points will depend on the processing power of the computing environment wherein the present method is implemented. One example ray 506 of FIG. 5 is shown divided into a plurality of discrete points. The ray intersects the boundary surface 502 of gamut 500 at intersection point x_(b) at 508. The endpoint x₀ 510 is a point along the neutral axis where a*=0 and b*=0 and L* is a value between the L* min of the printer and 100 if we are working with relative to paper values, inclusive. Otherwise, the value 100 needs to be changed to the white point of the paper. FIG. 6 illustrates another example ray traced between points x_(c) and x₀ which has been divided into a plurality of points and which intersects the 2D chroma plane at intersection point x_(b). The endpoint x₀ of the ray of FIG. 6 is at a point along the axis where a*=0 and b*=0.

At 210, a threshold error is initialized to a default value. The threshold error value is used herein to detect an intersection of the gamut surface. This threshold should be sufficiently low. If the present method is used directly by iterating on the color marking device (as opposed to iterating on a model of the device) then the value of the threshold error may be increased in order to account for noise in the system. Once the threshold error value has been pre-set, the following are repeated until the intersection of the ray with the surface of the gamut has been detected. It should be appreciated that if the starting point of the ray is outside the boundary surface of the gamut and the endpoint is within the boundary surface of the gamut then the ray will intersect with the surface boundary at some point.

At 212, a determination is made whether any more points x_(i) along the ray remain to be processed. If not then an error condition 213 has occurred and processing stops. Since all points have apparently been processed without the intersection point having been detected, an error condition must have occurred and is preferably reported to the user. This is the outer loop which iterates for all points along the ray. From a programming perspective, the number of iterations in this loop is defined by the number of discrete points along the ray, including the endpoints of the ray.

At 214, a determination is made whether any more iterations remain to be performed on the current point x_(i). If not then, at 215, the next point along the ray is to be processed and processing proceeds to box 212. Otherwise, processing continues with respect to step 216 of FIG. 3. Essentially, this is the inner loop which iterates for a predefined number of iterations for each discrete point along the ray. From a programming perspective, the number of iterations is a user-defined parameter which defines the number of iterations to be performed on each of the discrete points x_(i) along the ray. For a common marking device, 10 iterations should be sufficient. This number will depend on the processing power of the computer system wherein the present method is implemented.

Reference is now being made to the flow diagram of FIG. 3 which is a continuation of the flow diagram of FIG. 2 with flow continuing with respect to node A1.

At 216, an amount of deltaE color separation is determined between L*a*b* output values obtained on a previous iteration and the {L*_(i), a*_(i), b*_(i)} values of the current point x_(i). Methods for determining an amount of deltaE separation between two colors in L*a*b* space are well known and should be readily familiar to one of ordinary skill in this art. See, “Color Technology for Electronic Imaging Devices”, Henry R. Kang, SPIE Optical Engineering Press, (1997), ISBN-10: 0819421081, ISBN-13: 978-0819421081, which is incorporated herein in its entirety by reference. Since this is a loop, it should be appreciated that default L*a*b* output values are used on a first iteration for a previous iteration's result.

At 218, a determination is made whether the amount of deltaE color separation is greater than the pre-set threshold error value. Such a determination is the result of a mathematical comparison. In one example embodiment, if the determined amount of deltaE color separation is less than or equal to the pre-set threshold error value then, at 219, the intersection of the ray with the gamut surface has been detected and further iterative processing stops. Upon detection of the intersection point, at 224, the {L*_(i), a*_(i), b*_(i)} coordinates of the current point x_(i) is provided to a gamut mapping function. The process ends. It should be understood that the current point x_(i) is the intersection point x_(b). Additionally, CMYK values may be computed from the {L_(b), a*_(b), b*_(b)} coordinates of the intersection point x_(b).

From a programming perspective, stopping further processing upon detection of the intersection of the ray with the gamut surface involves breaking out of the inner loop (iterating a defined number of iterations for the current point) and the outer loop (iterating for each discrete point divided along the ray). Breaking control of inner and outer programming loops is a relatively well known programming technique which should be readily understood by one of ordinary skill.

Otherwise, if the amount of deltaE color separation is greater than the pre-set threshold error then the intersection of the ray with the gamut surface has not yet been detected and processing proceeds according to the following steps.

At 220, the amount of deltaE color separation is processed with CMYK values produced on a previous iteration to generate new CMYK values for the current iteration. Since this is an iterative loop, it should be appreciated that default CMYK values are used on a first iteration for the previous iteration's result. In one embodiment, processing is performed using a feedback controller. One example feedback controller is described in: “Gray Balance Control Loop for Digital Color Printing Systems”, L. K. Mestha, R. Enrique Viturro, Yao Rong Wang, Sohail A. Dianat, Imaging Science & Technology NIP21: International Conference on Digital Printing Technologies, Vol. 21, pp. 499-504, Baltimore, Md., (September 2005), ISBN/ISSN: 0-89208-257-7, which is incorporated herein in its entirety by reference. In one embodiment, a feedback control algorithm calculates a difference between the L*a*b* output values and the {L*_(i), a*_(i), b*_(i)} of the current point x_(i) to determine an amount of an error value. The determined error value is then multiplied by a gain matrix to obtain a gain weighted error vector. One of ordinary skill in this art would appreciate that the gain matrix employed should be sufficiently stable to avoid oscillations and/or perturbations in a feedback control algorithm. The gain weighted error vector is integrated by an integrator to obtain an integrated error vector. The integrated error vector is then added to the CMYK values obtained from a previous iteration. The addition of the integrated error vector to the previous iteration's CMYK values produces the new CMYK values for the current iteration. A sensitivity matrix can be utilized with the gain matrix. One such method is disclosed in U.S. application Ser. No. 12/024,221 entitled: “Sensitivity Matrix Determination for Adaptive Color Controf”, which is incorporated herein in its entirety by reference.

At 222, L*a*b* output values are obtained using the newly generated CMYK values as inputs to the color marking device. In one embodiment, the L*a*b* output values are obtained using the color marking device in a manner as follows: First, a test patch of the previous iteration's CMYK values is printed using the color marking device. Color values are then measured for each color printed on the test patch. The measured color values are converted to L*a*b* space to obtain new L*a*b* output values. The L*a*b* output values may also be obtained from an algorithm which models the color marking device in L*a*b* space using the newly generated CMYK values as inputs.

If more iterations remain to be performed on the current point then processing proceeds to node B1 of FIG. 2 wherein further iterations are performed on the current point or the next point is processed.

Additional constraints can be included in the iterations while performing error minimization (i.e., deltaE2000 etc.,) to provide variations to the components such as lightness, L*, chroma, C, and hue, H.

What is also disclosed herein is a system and method for performing ray-based compression mapping. The present method compresses a color point located at or near a boundary surface of a color gamut to a point further beneath the gamut surface. Such a method would be implemented with, or as part of, a gamut mapping function which would move points at or near the boundary surface of the color gamut in order to avoid artifacts which may arise by the rendering of color points which are nearly out of gamut or which are mistakenly reported as being out of gamut.

One embodiment of the present method for performing ray-based compression is discussed with respect to the flow diagram of FIG. 7. Reference is also made concurrently to FIGS. 8-10.

At 702, a point x_(b) in L*a*b* space is identified which is a point at or near a surface boundary of a color gamut. This point has {L*_(b), a*_(b), b*_(b)} values. One example point which is at or near the surface boundary 802 of gamut 800 is shown at 804 of FIG. 8. One method for mapping a point outside the boundary surface of a color gamut to a point on the surface of the gamut is described above with respect to the flow diagrams of FIGS. 2-3.

At 704, a point x₀ in L*a*b* space is identified which is inside the surface boundary of the color gamut. This point has {L*₀, a*₀, b*₀} values. In one embodiment, point x₀ is a point along a neutral axis of the gamut having coordinates {L*, a*=0, b*=0}, where L* is between the minimum L* of the printer and 100 if we are working with relative to paper values, inclusive. Otherwise, the value 100 needs to be changed to the white point of the paper. One example point which is inside the surface boundary of the color gamut is shown at 810 of FIG. 8. One method for determining whether a given point is inside (or outside) a boundary surface of a color gamut is disclosed in U.S. application Ser. No. ______ entitled: “Method for Determining Whether a Color is In or Out of Gamut”, which is incorporated herein in its entirety by reference.

At 706, a ray is traced between points x_(b) and x₀. One example ray is shown in at 806 of FIG. 8. The ray intersects the surface of the gamut at intersection point x_(b) at 804. A ray traced between two points x_(c) and x₀ can be defined as a line given by:

${x = {x_{0} + {mi}}},{x = \begin{bmatrix} L_{i} \\ a_{i} \\ b_{i} \end{bmatrix}},{x_{0} = \begin{bmatrix} L_{0} \\ a_{0} \\ b_{0} \end{bmatrix}},{m = {\frac{1}{N}\begin{bmatrix} {L_{c} - L_{0}} \\ {a_{c} - a_{0}} \\ {b_{c} - b_{0}} \end{bmatrix}}},$

where m is the slope, and N is the number of points such that, for i=0 to N, a total of N+1 points are defined along the ray, each of the defined points having color values represented by point x_(i).

At 708, a point x_(p) is identified between points x_(b) and x₀ along the ray. One example point is shown at 812 of FIG. 8. The point x_(p) is a distance (d) from point x_(b) which defines an amount of compression to be applied to the gamut.

At 710, the ray between points x_(b) and x_(p), is divided into a plurality of discrete points. FIG. 9 is an enlargement of the ray of FIG. 8 to show in greater detail the division of the ray between x_(b) and x_(p) into a plurality of discrete points. The points do not have to be equidistance. Each point x_(i) has coordinates {L*_(i), a*_(i), b*_(i)} where i is an index of the current discrete point. Point x_(b) is x_(i), and the next point down along the ray is x_(i-1), and the next point further down the ray is x_(i-2), and so on until point x_(p).

At 712, each of the points along the ray (including the intersection point x_(b)) is moved to a point between x_(p) and x₀ along the ray. In one embodiment, a piece-wise linear function is used to move the points along the ray. One example piece-wise linear function is given by:

${x = {{\left( {1 - \beta} \right)\left\lbrack {x_{0} + {\frac{x_{b} - x_{0}}{N}i}} \right\rbrack} + {\beta \left\lbrack {x_{0} + {\frac{x_{c} - x_{0}}{N}i}} \right\rbrack}}},{{{for}\mspace{14mu} 0} \leq i \leq i_{b}},{x = {{\left( {1 - \beta} \right)\left\lbrack {x_{0} + {\frac{x_{b} - x_{0}}{N}i}} \right\rbrack} + {\beta \; x_{b}}}},{{{for}\mspace{14mu} i_{b}} \leq i \leq N},$

where i is an index such that, for i=0 to N, i=0 represents point x₀ and i=N represents point x_(b), and where 0 is a compression parameter such that 0≦β≦1. When β=0, the interval {x₀ to x_(c)} is mapped linearly into {x₀ to x_(b)}. With β=0, all colors are moved inward including the in-gamut colors. There is one exception, the colors at x_(c) are clipped to the boundary. As β increases to greater than 0, then the in-gamut colors are compressed less. For β=1, all in-gamut colors are passed without any compression. All colors greater than x_(b) are mapped to x_(b). A 1D smoothing algorithm can be further utilized as described in U.S. Pat. No. 7,397,581 entitled: “TRC Smoothing Algorithm To Improve Image Contours In 3D Color Controls”, which is incorporated herein in its entirety by reference.

As shown in FIG. 10, points between x_(b) and x_(p) are moved a distance d₁, d₂, d₃, etc, further down along the ray to a location between x_(p) and x₀. Distance d₁ is greater than distance d₂. Distance d₂ is greater than distance d₃, and so on. Each point between x_(b) and x_(p) is moved a distance along the ray which is less than a distance a previous point between x_(b) and x_(p) was moved. Additionally, a point x_(c) can be identified which is outside the surface boundary of the gamut and points between x_(c) and x_(b) are also moved using the piece-wise linear function.

After each point has been moved, at 714, CMYK values are generated for the mapped points. One embodiment uses iterative control techniques known in the arts. Thereafter, the generated CMYK values are provided to an image processing system.

Reference is now made to FIG. 11 which illustrates a block diagram of one example embodiment of a special purpose computer useful for implementing one or more aspects of the present determinative method. Such a system could be implemented as a separate computer system, or as electronic circuit, or in an ASIC, for example. The nature of the exact implementation will depend on the image processing environment wherein the present method finds its intended uses.

Special purpose computer system 1100 includes processor 1106 for executing machine executable program instructions for carrying out all or some of the various aspects of the present method. The processor is in communication with bus 1102. The system includes main memory 1104 for storing machine readable instructions. Main memory may comprise random access memory (RAM) to support reprogramming and flexible data storage. Buffer 1166 stores data addressable by the processor. Program memory 1164 stores program instructions. A display interface 1108 forwards data from bus 1102 to display 1110. Secondary memory 1112 includes a hard disk 1114 and storage device 1116 capable of reading/writing to removable storage unit 1118, such as a floppy disk, magnetic tape, optical disk, etc. Secondary memory 1112 further includes other mechanisms for allowing programs or other machine executable instructions to be loaded into the processor. Such mechanisms may include, for example, a storage unit 1122 adapted to exchange data through interface 1120 which enables the transfer of software and data to the processor. The system includes a communications interface 1124 which acts as both an input and an output to allow data to be transferred between the system and external devices such as a color scanner (not shown). Example interfaces include a modem, a network card such as an Ethernet card, a communications port, a PCMCIA slot and card, etc. Software and data transferred via the communications interface are in the form of signals. Such signal may be any of electronic, electromagnetic, optical, or other forms of signals capable of being received by the communications interface. These signals are provided to the communications interface via channel 1126 which carries such signals and may be implemented using wire, cable, fiber optic, phone line, cellular link, RF, memory, or other means known in the arts.

Reference is now made to FIG. 12 which is an explanatory diagram illustrating one example of a computer readable storage medium capable of storing machine readable instructions which, when mounted on a computer or a special purpose computer system, causes the system to perform one or more aspects of the present method as described above. The machine readable instructions may be modified by one computer and transferred to another computer.

In the illustrated embodiment, one or more computer programs 1200 for carrying out the present method are loaded on a computer-readable storage media 1202 which includes media such as optical disks (CD-ROM etc.), magnetic disks, magnetic cards, memories (including IC cards and memory card). The storage media stores the machine readable program instructions for sale, transport, and storage by changing magnetic, optical, and/or electric energy states or orientations in response to program instructions having been transferred to the media. The computer programs containing machine executable instructions of the present method can then be mounted on computer 1204 and transferred or otherwise communicated to computer 1206. The program instructions can then be off-loaded to another medium 1208, in original form or modified, including data, and stored on storage media 1210. Both of the computer systems include processors capable of executing machine readable program instructions. The processor may be placed in communication with an image scanning device (not shown) for receiving the pixel values directly therefrom.

Terms such as, computer program medium, computer readable medium, computer executable medium, and computer usable medium are used herein to generally refer to a machine readable media such as main memory, secondary memory, removable storage device such as a hard disk, and communication signals. Such computer program products are means for carrying instructions and/or data to the computer system or device. Such computer program products may include non-volatile memory, such as a floppy disk, hard drive, memory, ROM, RAM, flash memory, disk memory, and other storage useful for transporting machine readable program instructions for executing the present method. It may further include a CD-ROM, DVD, tape, cassette, or other digital or analog media, capable of having embodied thereon one or more logical programming instructions or other machine executable codes or commands that implement and facilitate the function, capability, and methods disclosed herein. Computer readable medium may additionally comprise information in a transitory state medium such as a network link or a network interface which may include a wired network or a wireless network which allows a computer to read such computer readable information.

It should be understood that the flow diagrams hereof are intended to be illustrative. Other operations may be added, modified, enhanced, or consolidated. Variations thereof are intended to fall within the scope of the appended claims.

It should be understood that one or more aspects of the present method are intended to be incorporated in an article of manufacture, including one or more computer program products. The article of manufacture may be included on at least one storage device readable by a machine architecture, xerographic, color management, or other image processing system capable of executing program instructions. The article of manufacture may be included as part of a xerographic system, color management system, an operating system, a software program, a plug-in, and the like, as are known in the arts. Such an article of manufacture may further be shipped, sold, leased, or otherwise provided either alone or as part of an add-on, update, upgrade, or product suite by the assignee or a licensee hereof.

It will be appreciated that the above-disclosed features and functions and variations thereof may be desirably combined into many other different systems or applications. Various presently unforeseen or un-anticipated alternatives, modifications, variations, or improvements may become apparent and/or subsequently made by those skilled in the art which are also intended to be encompassed by the appended claims. The embodiments set forth above are considered to be illustrative and not limiting. Various changes to the above-described embodiments may be made without departing from the spirit and scope of the invention.

What is claimed is: 

1. A method for mapping an out-of-gamut color to a surface of a color gamut, the method comprising: identifying a point x_(c) in L*a*b* space having {L*_(c), a*_(c), b*_(c)} values, said point x_(c) being outside a boundary surface of a color gamut of a color marking device; identifying a point x₀ in L*a*b* space having {L*₀, a*₀, b*₀} values, said point x₀ being inside said boundary surface of said color gamut; tracing a ray between points x_(c) and x₀, said ray intersecting said boundary surface of said color gamut at intersection point x_(b); dividing said ray into a plurality of discrete points, each discrete point x_(i) having {L*_(i), a*_(i), b*_(i)} values, where i is an index of a current point; setting a threshold error to a default value; repeating, for each of said discrete points, for a defined number of iterations to be performed on current point x_(i), until an intersection of said ray with said boundary surface of said gamut has been detected: determining an amount of a deltaE color separation between L*a*b* output values obtained on a previous iteration and {L*_(i), a*_(i), b*_(i)} values of current point x_(i); and comparing said deltaE color separation with said threshold error, in response to said deltaE color separation being greater than said threshold error, said intersection having not been detected, further comprising: processing said deltaE color separation with N-color values obtained on a previous iteration to generate new N-color values for the current iteration, where N≧3; and obtaining new L*a*b* output values using said new N-color values as inputs; and in response to said intersection having been detected, providing said {L*_(b), a*_(b), b*_(b)} values of intersection point x_(b) to a gamut mapping function, point x_(b) being current point x_(i).
 2. The method of claim 1, wherein said new L*a*b* output values are obtained from said color marking device using said new N-color values are inputs, comprising: printing a patch of said N-color values using said color marking device; measuring at least one color value for each color printed on said patch; and converting said measured color values to L*a*b* space to obtain said new L*a*b* output values.
 3. The method of claim 1, wherein said new L*a*b* output values are obtained from an algorithm which models said color marking device in L*a*b* space using said new N-color values as inputs.
 4. The method of claim 1, wherein processing said deltaE color separation comprises: calculating a difference between said L*a*b* output values and said {L*_(i), a*_(i), b*_(i)} values of said current point x_(i) to obtain an error value; multiplying said error value by a gain matrix to obtain a gain weighted error vector; integrating said gain weighted error vector to obtain an integrated error vector; and adding said integrated error vector to said N-color values to generate new N-color values.
 5. The method of claim 1, wherein said ray comprises: ${x = {x_{0} + {mi}}},{x = \begin{bmatrix} L_{i} \\ a_{i} \\ b_{i} \end{bmatrix}},{x_{0} = \begin{bmatrix} L_{0} \\ a_{0} \\ b_{0} \end{bmatrix}},{m = {\frac{1}{N}\begin{bmatrix} {L_{c} - L_{0}} \\ {a_{c} - a_{0}} \\ {b_{c} - b_{0}} \end{bmatrix}}},$ where m is a slope, and N is a number of points such that, for i=0 to N, said ray is divided into a total of N+1 points, each point having a color value represented by x_(i).
 6. The method of claim 1, wherein point x₀ is defined as a point on a neutral axis of said gamut having coordinates {L*, a*=0, b*=0}.
 7. The method of claim 1, further comprising computing CMYK values from said {L*_(b), a*_(b), b*_(b)} coordinates of said intersection point x_(b).
 8. A system for mapping an out-of-gamut color to a surface of a color gamut, the system comprising: a memory and a storage medium; and a processor in communication with said storage medium and said memory, said processor executing machine readable instructions for performing: identifying a point x_(c) in L*a*b* space having {L*_(c), a*_(c), b*_(c)} values, said point x_(c) being outside a boundary surface of a color gamut of a color marking device; identifying a point x₀ in L*a*b* space having {L*₀, a*₀, b*₀} values, said point x₀ being inside said boundary surface of said color gamut; tracing a ray between points x_(c) and x₀, said ray intersecting said boundary surface of said color gamut at intersection point x_(b); dividing said ray into a plurality of discrete points, each discrete point x_(i) having {L*_(i), a*_(i), b*_(i)} values, where i is an index of a current point; setting a threshold error to a default value; repeating, for each of said discrete points, for a defined number of iterations to be performed on current point x_(i), until an intersection of said ray with said boundary surface of said gamut has been detected: determining an amount of a deltaE color separation between L*a*b* output values obtained on a previous iteration and {L*_(i), a*_(i), b*_(i)} values of current point x_(i); and comparing said deltaE color separation with said threshold error, in response to said deltaE color separation being greater than said threshold error, said intersection having not been detected, further comprising: processing said deltaE color separation with N-color values obtained on a previous iteration to generate new N-color values for the current iteration, where N≧3; and obtaining new L*a*b* output values using said new N-color values as inputs; and in response to said intersection having been detected, providing said {L*_(b), a*_(b), b*_(b)} values of intersection point x_(b) to a gamut mapping function, point x_(b) being current point x_(i).
 9. The system of claim 8, wherein said new L*a*b* output values are obtained from said color marking device using said new N-color values are inputs, comprising: printing a patch of said N-color values using said color marking device; measuring at least one color value for each color printed on said patch; and converting said measured color values to L*a*b* space to obtain said new L*a*b* output values.
 10. The system of claim 8, wherein said new L*a*b* output values are obtained from an algorithm which models said color marking device in L*a*b* space using said new N-color values as inputs.
 11. The system of claim 8, wherein processing said deltaE color separation comprises: calculating a difference between said L*a*b* output values and said {L*_(i), a*_(i), b*_(i)} values of said current point x_(i) to obtain an error value; multiplying said error value by a gain matrix to obtain a gain weighted error vector; integrating said gain weighted error vector to obtain an integrated error vector; and adding said integrated error vector to said N-color values to generate new N-color values.
 12. The system of claim 8, wherein said ray comprises: ${x = {x_{0} + {mi}}},{x = \begin{bmatrix} L_{i} \\ a_{i} \\ b_{i} \end{bmatrix}},{x_{0} = \begin{bmatrix} L_{0} \\ a_{0} \\ b_{0} \end{bmatrix}},{m = {\frac{1}{N}\begin{bmatrix} {L_{c} - L_{0}} \\ {a_{c} - a_{0}} \\ {b_{c} - b_{0}} \end{bmatrix}}},$ where m is a slope, and N is a number of points such that, for i=0 to N, said ray is divided into a total of N+1 points, each point having a color value represented by x_(i).
 13. The system of claim 8, wherein point x₀ is defined as a point on a neutral axis of said gamut having coordinates {L*, a*=0, b*=0}.
 14. The system of claim 8, further comprising computing CMYK values from said {L*_(b), a*_(b), b*_(b)} coordinates of said intersection point x_(b).
 15. A computer program product for mapping an out-of-gamut color to a surface of a color gamut, the computer program product comprising: a computer-usable data carrier storing instructions that, when executed on a computer, cause the computer to perform a method comprising: identifying a point x_(c) in L*a*b* space having {L*_(c), a*_(c), b*_(c)} values, said point x_(c) being outside a boundary surface of a color gamut of a color marking device; identifying a point x₀ in L*a*b* space having {L*₀, a*₀, b*₀} values, said point x₀ being inside said boundary surface of said color gamut; tracing a ray between points x_(c) and x₀, said ray intersecting said boundary surface of said color gamut at intersection point x_(b); dividing said ray into a plurality of discrete points, each discrete point x_(i) having {L*_(i), a*_(i), b*_(i)} values, where i is an index of a current point; setting a threshold error to a default value; repeating, for each of said discrete points, for a defined number of iterations to be performed on current point x_(i), until an intersection of said ray with said boundary surface of said gamut has been detected: determining an amount of a deltaE color separation between L*a*b* output values obtained on a previous iteration and {L*_(i), a*_(i), b*_(i)} values of current point x_(i); and comparing said deltaE color separation with said threshold error, in response to said deltaE color separation being greater than said threshold error, said intersection having not been detected, further comprising: processing said deltaE color separation with N-color values obtained on a previous iteration to generate new N-color values for the current iteration, where N≧3; and obtaining new L*a*b* output values using said new N-color values as inputs; and in response to said intersection having been detected, providing said {L*_(b), a*_(b), b*_(b)} values of intersection point x_(b) to a gamut mapping function, point x_(b) being current point x_(i).
 16. The computer program product of claim 15, wherein said new L*a*b* output values are obtained from said color marking device using said new N-color values are inputs, comprising: printing a patch of said N-color values using said color marking device; measuring at least one color value for each color printed on said patch; and converting said measured color values to L*a*b* space to obtain said new L*a*b* output values.
 17. The computer program product of claim 15, wherein said new L*a*b* output values are obtained from an algorithm which models said color marking device in L*a*b* space using said new N-color values as inputs.
 18. The computer program product of claim 15, wherein processing said deltaE color separation comprises: calculating a difference between said L*a*b* output values and said {L*_(i), a*_(i), b*_(i)} values of said current point x_(i) to obtain an error value; multiplying said error value by a gain matrix to obtain a gain weighted error vector; integrating said gain weighted error vector to obtain an integrated error vector; and adding said integrated error vector to said N-color values to generate new N-color values.
 19. The computer program product of claim 15, wherein said ray comprises: ${x = {x_{0} + {mi}}},{x = \begin{bmatrix} L_{i} \\ a_{i} \\ b_{i} \end{bmatrix}},{x_{0} = \begin{bmatrix} L_{0} \\ a_{0} \\ b_{0} \end{bmatrix}},{m = {\frac{1}{N}\begin{bmatrix} {L_{c} - L_{0}} \\ {a_{c} - a_{0}} \\ {b_{c} - b_{0}} \end{bmatrix}}},$ where m is a slope, and N is a number of points such that, for i=0 to N, said ray is divided into a total of N+1 points, each point having a color value represented by x_(i).
 20. The computer program product of claim 15, further comprising computing CMYK values from said {L*_(b), a*_(b), b*_(b)} coordinates of said intersection point x_(b). 